<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>打印航空货运检测记录清单</title>
    <style type="text/css">
        body {
            font-size: 17px;
            font-family: simsun, Arial, sans-serif;
            font-weight: bold;
        }

        .printbox {
            margin: 0 auto;
            width: 650px;
        }

        .print_an {
            text-align: right;
            line-height: 20px;
        }

        .page_list {
            background-color: #E0E7EA;
            clear: both;
            height: 30px;
            line-height: 30px;
            margin-top: 10px;
        }

        .Page_list select {
            margin-top: 6px;
        }

        .anpager .cpb {
            color: #FF6600;
            font-weight: bold;
        }

        .bluebtn {
            background-color: #DDEEF2;
            border-color: #91C4D0 #278296 #278296 #91C4D0;
            border-style: solid;
            border-width: 1px 2px 2px 1px;
            cursor: pointer;
            height: 23px;
            line-height: 23px;
            margin-left: 3px;
            padding: 2px 6px 0;
        }
    </style>
    <style type="text/css" media="print">
        body {
            font-size: 12px;
            font-family: simsun, Arial, sans-serif;
            margin: 0;
            padding: 0;
            font-weight: bold;
        }

        .Page_list {
            display: none;
        }

        .print_an {
            display: none;
        }
    </style>
    <script type="text/javascript">
        window.onload = function () {
            window.print();
        }
    </script>
</head>
<body>
<form id="Form2" runat="server">
    <div class="printbox">
        <div class="print_an">
            <a onclick="window.opener=null;self.close();" style="cursor: pointer">关闭本页</a> <a
                class="bluebtn" onclick="window.print()">打印本页</a>
        </div>
        <table width="650" border="1" align="center" cellpadding="0" cellspacing="0" style="line-height: 25px;
            text-align: center;">

            <tr style="text-align: center;">
                <td bgcolor="#CCCCCC" width="25">
                    序号
                </td>
                <td bgcolor="#CCCCCC" width="70">
                    包牌号
                </td>
                <td bgcolor="#CCCCCC" width="90">
                    运单号
                </td>
                <td bgcolor="#CCCCCC" width="150">
                    电子产品的品牌及型号
                </td>
                <td bgcolor="#CCCCCC" width="50">
                    电池型号
                </td>
                <td bgcolor="#CCCCCC" width="50">
                    件数
                </td>
                <td bgcolor="#CCCCCC">
                    检测报告单号
                </td>
            </tr>
            <% int index=1; %>
            <c:forEach items="${list}" var="item">
                <tr style="font-weight:normal">
                    <td bgcolor="#FFFFFF" align="left">
                        <%=index++%>
                    </td>
                    <td bgcolor="#FFFFFF" align="left">
                            ${item.packageNo}
                    </td>
                    <td bgcolor="#FFFFFF" align="left">
                            ${item.willWayNo}
                    </td>
                    <td bgcolor="#FFFFFF" align="left">
                            ${item.type}
                    </td>
                    <td bgcolor="#FFFFFF" align="left">
                            ${item.dianChi}
                    </td>
                    <td bgcolor="#FFFFFF" align="right">
                            ${item.qty}
                    </td>
                    <td bgcolor="#FFFFFF" align="left">
                            ${item.checkNum}
                    </td>
                </tr>
            </c:forEach>
            <tr style="font-weight:normal">
                <td bgcolor="#FFFFFF" align="left" colspan="2">
                    航班号
                </td>
                <td bgcolor="#FFFFFF" align="right">

                </td>
                <td bgcolor="#FFFFFF" align="right">
                    目的地

                </td>
                <td bgcolor="#FFFFFF" align="right" colspan="2">

                </td>
                <td bgcolor="#FFFFFF" align="right">

                </td>
            </tr>
            <tr style="font-weight:normal">
                <td bgcolor="#FFFFFF" align="left" colspan="2">
                    航空货运单号
                </td>
                <td bgcolor="#FFFFFF" align="right">

                </td>
                <td bgcolor="#FFFFFF" align="right">
                    件数/公斤
                </td>
                <td bgcolor="#FFFFFF" align="right" colspan="2">

                </td>
                <td bgcolor="#FFFFFF" align="right">

                </td>
            </tr>
        </table>
    </div>

</form>
</body>
</html>
>